DISCUSSION
The
ATSUTextMoved function updates the location of text in physical memory to reflect the location that you moved the buffer to. You are responsible for moving the text. The text buffer should remain otherwise unchanged.
If the user deletes, inserts, or moves text in a text layout object and the range of text covers the entire text buffer, you should not call
ATSUTextMoved. Instead,
You can then call the function
ATSUDrawText to display the updated text.